package com.xiaodeng.xdblogspringboot.service;

import com.xiaodeng.xdblogspringboot.pojo.Category;

import java.util.List;

public interface CategoryService {
    //新增文章类别
    void addcategory(Category category);

    List<Category> getCategory();

    void delete(Integer id);

    Category update(Category category);
}
